﻿using System;
using System.Collections.Generic;
using System.Text;

namespace OgilvyOne.Model
{
    public class CmsArticleModel
    {

        private bool isfront = false;

        public bool Isfront
        {
            set { isfront = value; }
            get { return isfront; }
        }

        private int articleid;  //文章ID

        public int Articleid
        {
            get { return articleid; }
            set { articleid = value; }
        }
        private int columnid;   //栏目ID

        public int Columnid
        {
            get { return columnid; }
            set { columnid = value; }
        }
        private string title;   //文章标题

        public string Title
        {
            get { return title; }
            set { title = value; }
        }
        private string content; //文章内容

        public string Content
        {
            get { return content; }
            set { content = value; }
        }
        private DateTime addtime;   //添加时间

        public DateTime Addtime
        {
            get { return addtime; }
            set { addtime = value; }
        }

        public string AddtimeShort
        {
            get { return addtime.ToShortDateString(); }
        }

        private string addusername; //添加人

        public string Addusername
        {
            get { return addusername; }
            set { addusername = value; }
        }
        private DateTime starttime; //开始时间

        public DateTime Starttime
        {
            get { return starttime; }
            set { starttime = value; }
        }
        private DateTime endtime;   //结束时间

        public DateTime Endtime
        {
            get { return endtime; }
            set { endtime = value; }
        }
        private string articletype = "1"; //文章类型

        public string Articletype
        {
            get { return articletype; }
            set { articletype = value; }
        }
        private string titleimg = "";    //标题图

        public string Titleimg
        {
            get { return titleimg; }
            set { titleimg = value; }
        }
        private string author = "";      //作者

        public string Author
        {
            get { return author; }
            set { author = value; }
        }

        private int expertid;   //营养健康专家ID

        public int ExpertId
        {
            set { expertid = value; }
            get { return expertid; }
        }

        private string authoremail =""; //作者email

        public string Authoremail
        {
            get { return authoremail; }
            set { authoremail = value; }
        }
        private string indextop;    //是否首页热点

        public string Indextop
        {
            get { return indextop; }
            set { indextop = value; }
        }
        private string sorttop;     //是否栏目置顶

        public string Sorttop
        {
            get { return sorttop; }
            set { sorttop = value; }
        }
        private string istouch = "0";     //

        public string Istouch
        {
            get { return istouch; }
            set { istouch = value; }
        }
        private int hits = 0;           //访问数

        public int Hits
        {
            get { return hits; }
            set { hits = value; }
        }
        private int templateid;  //模板ID

        public int Templateid
        {
            get { return templateid; }
            set { templateid = value; }
        }
        private string summary = ""; //简介

        public string Summary
        {
            get { return summary; }
            set { summary = value; }
        }
        private string source = "";  //来源

        public string Source
        {
            get { return source; }
            set { source = value; }
        }
        private string sourceurl = "";   //来源url

        public string Sourceurl
        {
            get { return sourceurl; }
            set { sourceurl = value; }
        }

        private string linkpath = "";    //外部链接

        public string Linkpath
        {
            get { return linkpath; }
            set { linkpath = value; }
        }
        private string tag = "";         //文章标签

        public string Tag
        {
            get { return tag; }
            set { tag = value; }
        }
        private string docstate = "0";    //发布状态 1发布

        public string Docstate
        {
            get { return docstate; }
            set { docstate = value; }
        }
        private string auditingman = ""; //审核人

        public string Auditingman
        {
            get { return auditingman; }
            set { auditingman = value; }
        }
        private DateTime auditingtime;  //审核时间

        public DateTime Auditingtime
        {
            get { return auditingtime; }
            set { auditingtime = value; }
        }
        private string auditingstate = "0";   //审核状态

        public string Auditingstate
        {
            get { return auditingstate; }
            set { auditingstate = value; }
        }
        //SEO
        private string articletitle = "";    //seo title

        public string Articletitle
        {
            get { return articletitle; }
            set { articletitle = value; }
        }
        private string articlekeyword = "";  //key

        public string Articlekeyword
        {
            get { return articlekeyword; }
            set { articlekeyword = value; }
        }
        private string articledesc = "";     //desc

        public string Articledesc
        {
            get { return articledesc; }
            set { articledesc = value; }
        }
        //END
        private string isstaticpub = "0";     //是否静态发布

        public string Isstaticpub
        {
            get { return isstaticpub; }
            set { isstaticpub = value; }
        }
        private string staticpagename = "";  //静态发布文件名

        public string Staticpagename
        {
            get { return staticpagename; }
            set { staticpagename = value; }
        }

        private DateTime modifytime;  //修改时间

        public DateTime Modifytime
        {
            get { return modifytime; }
            set { modifytime = value; }
        }
        private string modifyusername; //修改人

        public string Modifyusername
        {
            get { return modifyusername; }
            set { modifyusername = value; }
        }

        private string img_name;   //图片名称
        public string ImgName
        {
            set { img_name = value; }
            get { return img_name; }
        }

        private int img_type; //图片类型
        public int ImgType
        {
            set { img_type = value; }
            get { return img_type; }
        }

        private string img_file_name; //图片文件名
        public string ImgFileName
        {
            set { img_file_name = value; }
            get { return img_file_name; }
        }

        private int img_order; // 图片排序
        public int ImgOrder
        {
            set { img_order = value; }
            get { return img_order; }
        }

        private int state;
        public int State
        {
            set { state = value; }
            get { return state; }
        }

        private DateTime add_time; //添加时间
        public DateTime Add_time
        {
            set { add_time = value; }
            get { return add_time; }
        }

        private int user_id;  //用户id
        public int UserId
        {
            set { this.user_id = value; }
            get { return user_id; }
        }
        private string toppic; //题头图地址
        public string Toppic
        {
            set { toppic = value; }
            get { return toppic; }
        }

        private string hotpic; //热点图1地址
        public string Hotpic
        {
            set { hotpic = value; }
            get { return hotpic; }
        }

        private string pic;   //热点图片2
        public string Pic
        {
            set { pic = value; }
            get { return pic; }
        }

        private string imgtopId;   //题头图片id
        public string ImgtopId
        {
            set { imgtopId = value; }
            get { return imgtopId; }
        }

        private string imgHopId;   //热点图片1id
        public string ImgHopId
        {
            set { imgHopId = value; }
            get { return imgHopId; }
        }

        private string imgId;   //热点图片2 id
        public string ImgId
        {
            set { imgId = value; }
            get { return imgId; }
        }

        private string doKnow;   //你知道吗
        public string DoKnow
        {
            set { doKnow = value; }
            get { return doKnow; }
        }

        private string recommend;   //更多文章推荐
        public string Recommend
        {
            set { recommend = value; }
            get { return recommend; }
        }

        private string isbanner;   //显示banner
        public string Isbanner
        {
            set { isbanner = value; }
            get { return isbanner; }
        }

        private string pubtime;   
        public string Pubtime
        {
            set { pubtime = value; }
            get { return pubtime; }
        }

        private string parentename;
        public string Parentename
        {
            set { parentename = value; }
            get { return parentename; }
        }

        private string childenamel;
        public string Childenamel
        {
            set { childenamel = value; }
            get { return childenamel; }
        }



    }
}
